.flex {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

ul.flex li.block {
    border-radius: 0.65rem;
}

.flex .block:not(.subheader) {
    flex: 0 1 50%;
    overflow: hidden;
}

.flex.card {
    margin: 0 0.75rem;
}

.flex.card .block:not(.subheader) {
    flex: 0 1 calc(50% - 0.5rem);
    min-height: 5rem;
}

.flex.stacked .block:not(.subheader) {
    margin-bottom: 0;
}

.flex.third .block:not(.large) {
    flex: 0 1 33.33%;
    max-width: 33.33%;
}

.flex.third.card .block:not(.large) {
    max-width: calc(33.33% - 0.5rem);
}

.flex .block.large,
.flex.card .block.large {
    flex: 0 1 100%;
}

.column {
    column-count: 3;
    margin: 1rem 0;
    line-height: 0;
}

.column > * {
    display: inline-block;
    width: 100%;
}

@media screen and (min-width: 613px) and (max-width: 900px) {
    .flex .block:not(.subheader),
    .flex.third .block:not(.subheader) {
        flex: 0 1 50%;
        max-width: 50%;
    }

    .flex.third.card .block:not(.subheader) {
        max-width: calc(50% - 0.5rem);
    }

    .column {
        column-count: 2;
    }
}

@media screen and (max-width: 612px) {
    .flex .block:not(.subheader),
    .flex.card .block:not(.subheader),
    .flex.third .block:not(.subheader),
    .flex.third.card .block:not(.subheader) {
        flex: 0 1 100%;
        max-width: 100%;
    }

    .column {
        column-count: 1;
    }
}
